﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace L.M.Review.Domain.DTO
{
    public class GetInforWorkDTO
    {
        public class GetInforWork
        {
            public string? jiedName { get; set; }
            public string? Number { get; set; }
            public string? Wname { get; set; }
            public string? Previous_level { get; set; }
            public string? Subordinate { get; set; }
            public string? Winfor { get; set; }
        }



        public class Rootobject
        {
            public Node[] nodes { get; set; }
            public Edge[] edges { get; set; }
        }

        public class Node
        {
            public string id { get; set; }
            public string type { get; set; }
            public int x { get; set; }
            public int y { get; set; }
            public Properties properties { get; set; }
            public Text text { get; set; }
        }

        public class Properties
        {
            public string? start { get; set; }
            public string? CustomRect { get; set; }
            public string? propValue { get; set; }
            public int? propSystem { get; set; }
        }

        public class Text
        {
            public int x { get; set; }
            public int y { get; set; }
            public string? value { get; set; }
        }

        public class Edge
        {
            public string? id { get; set; }
            public string? type { get; set; }
            public string? sourceNodeId { get; set; }
            public string? targetNodeId { get; set; }
            public Startpoint startPoint { get; set; }
            public Endpoint endPoint { get; set; }
            public Properties properties { get; set; }
            public Pointslist[] pointsList { get; set; }
        }

        public class Startpoint
        {
            public int x { get; set; }
            public int y { get; set; }
        }

        public class Endpoint
        {
            public int x { get; set; }
            public int y { get; set; }
        }


        public class Pointslist
        {
            public int x { get; set; }
            public int y { get; set; }
        }
    }
}
